package last;

import java.io.BufferedReader;
import java.io.File;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.regex.Matcher;
import java.util.regex.Pattern;

public class QQPathFinder {

    public static void main(String[] args) throws Exception {
        String qqPath = "E:\\sofewaree\\qq";
        String command = "\"" + qqPath + "\\QQ.exe\"";
        // 启动 QQ
        Process process = Runtime.getRuntime().exec(command);
        process.waitFor();
    }
}


